package com.bckj.fastboot.iot.data.mysql.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * IotDeviceStatusRecord
 *
 * @author wfc
 **/
@Data
public class IotDeviceStatusRecord {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 设备id
     */
    private Long devId;
    /**
     * 设备编号
     */
    private String devCode;
    /**
     * 状态转换前状态
     */
    private Integer fromStatus;
    /**
     * 状态转换后状态
     */
    private Integer toStatus;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
